package com.mikufufu.blog.model.vo.admin;

import com.mikufufu.blog.model.entity.Category;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.List;

/**
 * 分类表VO
 * 
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class CategoryVO extends Category {

    @ApiModelProperty(value = "子分类")
    private List<CategoryVO> children;
}
